HAL ICACHE migration: List of applicable concepts ¶
This section provides information about the HAL ICACHE applicable architecture concepts.
Concepts for ICACHE ¶
|
Concept |
Description |
|---|---|
|
New APIs are available to get and set ICACHE features. |
|
|
Two functions to set and get user data are available:
|
|
|
All hardware macros have been removed from the HAL ICACHE driver, and equivalent services are ensured through the LL APIs. |
|
|
The HAL ICACHE functions were updated to return:
|
|
|
Introduce a dedicated function for error management:
|
|
|
All TypeDef parts of the HAL ICACHE driver have been removed and replaced by
|
|
|
Const keywords have been added to non-modifiable pointers to ensure that either the pointer itself or the data it points to cannot be modified. This enhances code safety and readability, prevents unintended modifications, and renders code more robust and maintainable. |
|
|
Replace Finite Parameter Defines (Including PPP Instances) with Enum Types at HAL Levels. |
Finite parameters (including ICACHE instances) have been converted into enumerated types (enums) at HAL level. This improves code readability, maintainability, and type safety. |
|
Add HAL_PPP Prefix to All HAL Peripheral APIs (Defines, Macros, Types, and Functions). |
All HAL ICACHE enumerations and structures start with
|
Other HAL ICACHE changes ¶
|
Concept |
Description |
|---|---|
|
Rework the driver around the creation of a handle for the ICACHE. |
Introduce hal_icache_handle_t for the ICACHE peripheral and add the following functions:
|
|
Rename the enable and disable functions. |
|
|
Rename the monitor functions. |
|
|
Rename the monitors values functions. |
|